package com.cn.yugan.Engine.Json;


import android.graphics.drawable.Drawable;

import com.cn.yugan.mobile.R;

/**
 * Created by Rover on 2016/8/3 .
 * Email 357319517@qq.com
 */
public class CommentItemJsonObj {
    public long cid;
    public long uid;
    public String author;
    public int floor;
    public int deep;
    public int reply;
    public int replycid;
    public String time;
    public String content;
    public boolean deleted;
    public String tags;
    public String userface;


    /**
     * 自定义-是否显示过了(记录重复引用)
     */
    private boolean isShow = false;
    /**
     * 自定义-当前楼层是否显示隐藏楼层按钮
     */
    public boolean flagShowHiddenBtn = false;
    /**
     * 是否是最底层
     **/
    public Boolean isBottomFloor = false;
    // /** 自定义-隐藏了多少重复楼层 */
    // public int hiddenFloorNum = 0;
    /**
     * 自定义-楼层数-楼层数从0开始(楼层数决定了背景样式)
     */
    /* public int floorNum = 0; 重复引用之下,楼号会出问题 */
    

    /**
     * 设置当前楼层为以显示过了-第一次显示返回true,否则返回false(表示重复楼层)
     *
     * @return
     * @author chengc
     */
    public boolean setShowed() {
        if (isShow == true) {
            return false;
        } else {
            isShow = true;
            return true;
        }
    }
}
